import request from '@/utils/request'

export function fetchCitiesList(type) {
  return request({
    url: '/web/dictionary/cities/list/'+type,
    method: 'post',
  })
}

export function fetchList(type) {
  return request({
    url: '/web/dictionary/list/'+type,
    method: 'post',
  })
}
export function fetchTreeList(type) {
  return request({
    url: '/web/dictionary/tree/'+type,
    method: 'post',
  })
}

export function fetchPostTypeList(type) {
  return request({
    url: '/web/dictionary/tree/'+type,
    method: 'post',
  })
}
